What is the output of the code shown below? def f1(): x=100 print(x) x=+1 f1() A.

Python - Online Exam Test Papers | Python - MCQs[multiple choice questions and answers ] | Python - Mock Test Papers | Python - Practice Papers | Python - Sample Test Papers |

Question:
 What is the output of the code shown below?

def f1():
    x=100
    print(x)
x=+1
f1()
A. 

1.Error

2.100

3.101

4.91

Posted Date:-2022-02-11 13:09:04


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!